package r5.pierwszy.raz;

public class Student extends Person {

	private String major;

	@Override
	public String getDescription() {
		return "student specjalizacji " + major;
	}

	public Student(String name, String major) {
		super(name);
		this.major = major;
	}

}
